/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package com.lineage.server.model.item;

import com.lineage.server.model.Instance.L1ItemInstance;
import com.lineage.server.model.Instance.L1PcInstance;

/**
 * Class <code>UniversalUseItem</code> 通用抽象类 (使用道具).
 * 
 * @author jrwz
 * @version 2012-6-19下午05:48:49
 * @see com.lineage.server.model.item
 * @since JDK1.7
 */
public abstract class UniversalUseItem {

    /**
     * 道具类使用.
     * 
     * @param pc
     *            使用对象
     * @param item
     *            使用道具
     * @param itemId
     *            道具编号
     * @param effect
     *            道具效果 (加血、变身等)
     * @param time
     *            效果时间 (单位:秒)
     * @param gfxid
     *            特效编号 (动画类)
     */
    public abstract void useItem(final L1PcInstance pc,
            final L1ItemInstance item, final int itemId, final int effect,
            final int time, final int gfxid);
}
